﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;

namespace OOD2_Proto
{
    public struct Position
    {
        public int x;
        public int y;

        public Position(int ix, int iy)
        {
            this.x = ix;
            this.y = iy;
        }
    }

    abstract class Gate
    {
        Position Pos;
        public readonly int MaxSources { get; protected set; }

        protected Gate()
        {
            MaxSources = 2;
        }

        protected Gate(int ix, int iy)
        {
            MaxSources = 2;
            Pos = new Position(ix, iy);
        }

       // public virtual bool Execute();
    }
}
